package com.chwn.harulib.mvp.rx;

import android.util.Log;

/**
 * Created by Myshikin on 2017/1/9.
 */
public class HttpResultException extends RuntimeException {
    private static final String TAG = "HttpResultException";

    private int status;

    public String getMessage() {
        return message;
    }

    public int getStatus() {
        return status;
    }

    private String message;

    public HttpResultException(int status, String message) {
        this.status = status;
        this.message = message;
        Log.e(TAG, "status == " + status + " ; message == " + message);
    }

}
